package com.csist.mapper;

import com.csist.pojo.Computer;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ComputerMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Computer row);

    Computer selectByPrimaryKey(Integer cid);

    @Select("select * from computer")
    /**
     * 查找所有的电脑信息
     */
    List<Computer> selectAll();

    int updateByPrimaryKey(Computer row);

}